projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bac0999
)
hvm, vtsc: missing vtsc counter for hvm guests
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 7 Oct 2009 06:35:06 +0000
(07:35 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 7 Oct 2009 06:35:06 +0000
(07:35 +0100)
This counter line got dropped somewhere along the way.
Confused me a bit because the count was always being
reported as 0.
Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
xen/arch/x86/hvm/hvm.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/hvm.c
b/xen/arch/x86/hvm/hvm.c
index a89b616c489fc168f4fb1e111ff4be3623f52b99..aad2fa5fd7dd04d1c0667ab3b335249809feddd0 100644
(file)
--- a/
xen/arch/x86/hvm/hvm.c
+++ b/
xen/arch/x86/hvm/hvm.c
@@
-202,6
+202,7
@@
u64 hvm_get_guest_tsc(struct vcpu *v)
if ( v->domain->arch.vtsc )
{
tsc = hvm_get_guest_time(v);
+ v->domain->arch.vtsc_kerncount++;
}
else
{